package com.luli.entity.poi;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


//@Data
//@NoArgsConstructor
//@AllArgsConstructor
@Accessors(chain = true)
public class WorkBookLocal implements Serializable {
    private static final long serialVersionUID = -4608555088327614733L;
    /** 文件名 */
    private String fileName;
    /** 页签*/
    List<SheetLocal> sheets = new ArrayList<>();

    public WorkBookLocal(String fileName){
        this.fileName=fileName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public List<SheetLocal> getSheets() {
        return sheets;
    }

    public void setSheets(List<SheetLocal> sheets) {
        this.sheets = sheets;
    }

    @Override
    public String toString() {
        return "WorkBookLocal{" +
                "fileName='" + fileName + '\'' +
                ", sheets=" + sheets +
                '}';
    }
}
